/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.cms.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 天气菜价Entity
 * @author zhangpeng
 * @version 2016-10-26
 */
public class Weathers extends DataEntity<Weathers> {
	
	private static final long serialVersionUID = 1L;
	private String weathers;		// 天气
	private String vegetablePrices;		// 菜价
	
	public Weathers() {
		super();
	}

	public Weathers(String id){
		super(id);
	}

	@Length(min=1, max=6000, message="天气长度必须介于 1 和 6000 之间")
	public String getWeathers() {
		return weathers;
	}

	public void setWeathers(String weathers) {
		this.weathers = weathers;
	}
	
	@Length(min=1, max=6000, message="菜价长度必须介于 1 和 6000 之间")
	public String getVegetablePrices() {
		return vegetablePrices;
	}

	public void setVegetablePrices(String vegetablePrices) {
		this.vegetablePrices = vegetablePrices;
	}
	
}